/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 考勤记录Entity
 * @author hss
 * @version 2017-09-22
 */
public class Kckqjl extends DataEntity<Kckqjl> {
	
	private static final long serialVersionUID = 1L;
	private String number;		// 学号
	private String semeyear;		// 学年
	private String semester;		// 学期
	private String courseinfo;		// 课程信息
	
	public Kckqjl() {
		super();
	}

	public Kckqjl(String id){
		super(id);
	}

	@Length(min=0, max=20, message="学号长度必须介于 0 和 20 之间")
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@Length(min=0, max=20, message="学年长度必须介于 0 和 20 之间")
	public String getSemeyear() {
		return semeyear;
	}

	public void setSemeyear(String semeyear) {
		this.semeyear = semeyear;
	}
	
	@Length(min=0, max=1, message="学期长度必须介于 0 和 1 之间")
	public String getSemester() {
		return semester;
	}

	public void setSemester(String semester) {
		this.semester = semester;
	}
	
	public String getCourseinfo() {
		return courseinfo;
	}

	public void setCourseinfo(String courseinfo) {
		this.courseinfo = courseinfo;
	}
	
}